package BaseObject.ploy;

/**
 * ClassName: Manager
 * Package: BaseObject.ploy
 * Description:
 *
 * @Author Linshio
 * @Create 2025/3/16 15:05
 */
public class Manager extends Employee{
    private int bonus;

    @Override
    public int getAnnual() {
        return super.getAnnual() + bonus;
    }

    public void mananger(){
        System.out.println("manager people");
    }

    public int getBonus() {
        return bonus;
    }

    public void setBonus(int bonus) {
        this.bonus = bonus;
    }
}
